import request from '@/utils/request'

// 查询人脸设备信息列表
export function listCompanydeviceinfo(query) {
  return request({
    url: '/lgdz/companydeviceinfo/list',
    method: 'get',
    params: query
  })
}

// 查询人脸设备信息详细
export function getCompanydeviceinfo(id) {
  return request({
    url: '/lgdz/companydeviceinfo/' + id,
    method: 'get'
  })
}

// 新增人脸设备信息
export function addCompanydeviceinfo(data) {
  return request({
    url: '/lgdz/companydeviceinfo',
    method: 'post',
    data: data
  })
}

// 修改人脸设备信息
export function updateCompanydeviceinfo(data) {
  return request({
    url: '/lgdz/companydeviceinfo',
    method: 'put',
    data: data
  })
}

// 删除人脸设备信息
export function delCompanydeviceinfo(id) {
  return request({
    url: '/lgdz/companydeviceinfo/' + id,
    method: 'delete'
  })
}

// 导出人脸设备信息
export function exportCompanydeviceinfo(query) {
  return request({
    url: '/lgdz/companydeviceinfo/export',
    method: 'get',
    params: query
  })
}